#{extends 'main.html' /}

<!-- @samar nassar this page allow the user to see the rest questions of the exercise -->

<form action="@{Exercises.nextQuestion()}" method="GET">

	<li>
		<h2><font size="4" face="arial" color="#FF6600">${questions.theQuestion}</h2>
	</li> <select name="answer" id="mySelect"> 
	#{list items:choices,as:'choiceList'}
	 #{list items:choiceList, as:'c'}

		<option>${c.choice}</option>
#{/list} 
#{/list}

	</select> <input type="hidden" name="i" value="${i}">
	<button  style="color: DarkBlue" name="id" type="submit" value="${id}">Next</button>

</form>

</form>
<form action="@{Exercises.maperQuestion()}" method="GET">
	<button  style="color: DarkBlue"  name="id" type="submit" value="${id}">View Model
		Answer</button>
	<input type="hidden" name="i" value="${i}">
</form>

